function t(t, n, o, c, a) {
    i.debug && console.log("requestData url: ", t), wx.request({
        url: t,
        data: n,
        header: {
            "Content-Type": "application/json"
        },
        success: function(t) {
            i.debug && console.log("response data: ", t), 200 == t.statusCode ? e.isFunction(o) && o(t.data) : e.isFunction(c) && c();
        },
        error: function() {
            e.isFunction(c) && c();
        },
        complete: function() {
            e.isFunction(a) && a();
        }
    });
}

var e = require("../utils/util.js"), n = require("./api.js"), i = getApp();

module.exports = {
    getHotBrand: function(e, i, o) {
        t(n.getHotBrand(), {}, e, i, o);
    },
    getMasterList: function(e, i, o) {
        t(n.getMasterList(), {}, e, i, o);
    },
    getSerialList: function(e, i, o, c) {
        t(n.getSerialList(e), {}, i, o, c);
    },
    getCitys: function(e, i, o) {
        t(n.getCitys(), {}, e, i, o);
    },
    getMasterInfo: function(e, i, o, c) {
        t(n.getMasterInfo(e), {}, i, o, c);
    },
    getSerailDetail: function(e, i, o, c) {
        t(n.getSerailDetail(e), {}, i, o, c);
    },
    getDealerInfoList: function(e, i, o, c, a) {
        t(n.getDealerInfo(e, i), {}, o, c, a);
    },
    getCarList: function(e, i, o, c) {
        t(n.getCarList(e), {}, i, o, c);
    },
    getCarSelect: function(e, i, o, c) {
        t(n.getCarSelect(e), {}, i, o, c);
    },
    getParamDetail: function(e, i, o, c) {
        t(n.getParamDetail(e), {}, i, o, c);
    },
    getParamOptions: function(e, i, o) {
        t(n.getParamOptions(), {}, e, i, o);
    },
    getCarPic: function(e, i, o, c, a, r, g) {
        t(n.getCarPic(e, i, o, c), {}, a, r, g);
    },
    postOrder: function(e, i, o, c, a, r, g, s, u, l) {
        t(n.getOrder(e, i, o, c, a, r, g), {}, s, u, l);
    },
    getHotCar: function(e, i, o) {
        t(n.getHotCar(), {}, e, i, o);
    },
    getHotcarserial: function(e, i, o) {
        t(n.getHotcarserial(), {}, e, i, o);
    },
    getSuggest: function(e, i, o, c) {
        t(n.getSuggest(e), {}, i, o, c);
    },
    getSouCar: function(e, i, o, c, a, r) {
        t(n.getSouCar(e, i, o), {}, c, a, r);
    },
    getIndexMonth: function(e, i, o, c) {
        t(n.getIndexMonth(e), {}, i, o, c);
    },
    getIndexData: function(e, i, o, c, a, r, g, s, u) {
        t(n.getIndexData(e, i, o, c, a, r), {}, g, s, u);
    },
    getBitAutoZhishu: function(e, i, o, c, a, r, g, s) {
        t(n.getBitAutoZhishu(e, i, o, c, a), {}, r, g, s);
    },
    getBitAutoKoubei: function(e, i, o, c, a, r, g, s) {
        t(n.getBitAutoKoubei(e, i, o, c, a), {}, r, g, s);
    },
    getHotcarmaster: function(e, i, o) {
        t(n.getHotcarmaster(), {}, e, i, o);
    },
    getNewsDetail: function(e, i, o, c) {
        t(n.getNewsDetail(e), {}, i, o, c);
    },
    getNewsList: function(e, i, o, c, a, r, g) {
        t(n.getNewsList(e, i, o, c), {}, a, r, g);
    },
    getNewscomment: function(e, i, o, c, a, r) {
        t(n.getNewscomment(e, i, o), {}, c, a, r);
    },
    getImportantnewscomment: function(e, i, o, c, a, r) {
        t(n.getImportantnewscomment(e, i, o), {}, c, a, r);
    },
    getVideolist: function(e, i, o, c, a, r) {
        t(n.getVideolist(e, i, o), {}, c, a, r);
    },
    getVideocatlist: function(e, i, o, c) {
        t(n.getVideocatlist(e), {}, i, o, c);
    },
    getVideocomment: function(e, i, o, c, a, r, g) {
        t(n.getVideocomment(e, i, o, c), {}, a, r, g);
    },
    getEnergyList: function(e, i, o) {
        t(n.getEnergyList(), {}, e, i, o);
    },
    getHaveDataTime: function(e, i, o) {
        t(n.getHaveDataTime(), {}, e, i, o);
    },
    getNewCarList: function(e, i, o, c, a, r, g) {
        t(n.getNewCarList(e, i, o, c), {}, a, r, g);
    },
    sendSMS: function(e, i, o, c, a) {
        t(n.getSendSMSUrl(e, i), {}, o, c, a);
    },
    getOpenId: function(e, i, o, c) {
        t(n.getOpenIdUrl(e), {}, i, o, c);
    },
    regist: function(e, i, o, c, a, r, g, s, u) {
        t(n.getRegistUrl(e, i, o, c, a, r), {}, g, s, u);
    },
    getVoteList: function(e, i, o, c, a, r, g, s, u, l, f) {
        t(n.getVoteList(e, i, o, c, a, r, g, s), {}, u, l, f);
    },
    login: function(e, i, o, c) {
        t(n.getLoginUrl(e), {}, i, o, c);
    },
    activate: function(e, i, o, c, a, r) {
        t(n.getActivateUrl(e, i, o), {}, c, a, r);
    },
    getDelVote: function(e, i, o, c, a, r, g, s) {
        t(n.getDelVote(e, i, o, c, a), {}, r, g, s);
    },
    getUserList: function(e, i, o, c, a, r, g, s, u, l) {
        t(n.getUserList(e, i, o, c, a, r, g), {}, s, u, l);
    },
    getTopicDetail: function(e, i, o, c, a, r, g, s, u, l) {
        t(n.getTopicDetail(e, i, o, c, a, r, g), {}, s, u, l);
    },
    addVote: function(e, i, o, c) {
        t(n.addVote(e), {}, i, o, c);
    },
    getUserVote: function(e, i, o, c, a, r, g, s, u, l, f, d, m) {
        t(n.getUserVote(e, i, o, c, a, r, g, s, u, l), {}, f, d, m);
    },
    getSalecarsbycsid: function(e, i, o, c) {
        t(n.getSalecarsbycsid(e), {}, i, o, c);
    },
    addUserFeedback: function(e, i, o, c, a, r, g, s, u, l, f, d, m, C) {
        t(n.addUserFeedback(e, i, o, c, a, r, g, s, u, l, f), {}, d, m, C);
    },
    getUserBackList: function(e, i, o, c) {
        t(n.userFeedbackList(e), {}, i, o, c);
    },
    getcarCollectlist: function(e, i, o, c, a) {
        t(n.getcarCollectlist(e, i), {}, o, c, a);
    },
    addcarCollect: function(e, i, o, c, a) {
        t(n.addcarCollect(e, i), {}, o, c, a);
    },
    deletecarCollect: function(e, i, o, c, a) {
        t(n.deletecarCollect(e, i), {}, o, c, a);
    },
    deletemorecarCollect: function(e, i, o, c, a) {
        t(n.deletemorecarCollect(e, i), {}, o, c, a);
    },
    selectuserawardinfo: function(e, i, o, c, a) {
        t(n.selectuserawardinfoUrl(e, i), {}, o, c, a);
    },
    selectactivityawardlist: function(e, i, o, c) {
        t(n.selectactivityawardlistUrl(e), {}, i, o, c);
    },
    selectuserawardlist: function(e, i, o, c) {
        t(n.selectuserawardlistUrl(e), {}, i, o, c);
    },
    createuserawardinfo: function(e, i, o, c, a, r, g) {
        t(n.createuserawardinfoUrl(e, i, o, c), {}, a, r, g);
    },
    getPriceLower: function(e, i, o, c, a) {
        t(n.getPriceLower(e, i), {}, o, c, a);
    },
    getReductionList: function(e, i, o, c, a, r) {
        t(n.getReductionList(e, i, o), {}, c, a, r);
    },
    getDealer: function(e, i, o, c, a, r) {
        t(n.getDealer(e, i, o), {}, c, a, r);
    }
};